nested vmx: fix rflags status in virtual vmexit
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:54:26 +0000 (16:54 +0000)
committerDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:54:26 +0000 (16:54 +0000)
commit3d605ee7378409ed1d52a0591df963313bb8b4c5
tree1722126007bb98818eef0a0294e7132eeb19516b
parentbb9bcedf8eaf1580be6a54333cec1473a820a5ac
nested vmx: fix rflags status in virtual vmexit

As stated in SDM, all bits (except for those 1-reserved) in rflags
would be set to 0 in VM exit. Therefore we need to follow this logic
in virtual_vmexit.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/vmx/vvmx.c